package com.ruoyi.project.ins.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class InsBatchMessage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long id;

    @Excel(name = "消息类型", type = Excel.Type.ALL, readConverterExp = "0=发送名片,1=发送私信,2=发送名片+私信")
    private String messageType;

    @Excel(name = "推送名片用户id", type = Excel.Type.ALL)
    private String shareUserid;

    @Excel(name = "消息内容", type = Excel.Type.ALL)
    private String messageContent;

    @Excel(name = "发送次数", type = Excel.Type.EXPORT)
    private Integer sendTimes;

    @Excel(name = "开始序号", type = Excel.Type.EXPORT)
    private Integer startIndex;

    @Excel(name = "结束序号", type = Excel.Type.EXPORT)
    private Integer endIndex;

    @Excel(name = "用户数", type = Excel.Type.EXPORT)
    private Integer userNums;

    @Excel(name = "总消息数", type = Excel.Type.EXPORT)
    private Integer totalNums;

    @Excel(name = "成功数", type = Excel.Type.EXPORT)
    private Integer successNums;

    @Excel(name = "失败数", type = Excel.Type.EXPORT)
    private Integer failedNums;

    /**
     * 批量发送账号查询条件
     */
    private InsAccount queryParams;
}
